package com.itheima.service;

import com.itheima.pojo.Permission;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;
public interface PermissionService {
    Set<Permission> findAll();
    Set<Integer> findPermissionByRoleId(int rid);



    Permission findById(Integer id);


    void delById(Integer id);

    PageResult findByPage(QueryPageBean queryPageBean);

    void add(Permission permission);

    void edit(Permission permission);


}
